package com.ferry.transport.netty.consumer;

/**
 * Created by daiyong
 */
public enum LbType {
	RR,
	RANDOM;

	public static LbType parse(String name) {
		for (LbType s : values()) {
			if (s.name().equalsIgnoreCase(name)) {
				return s;
			}
		}
		return null;
	}
}
